package com.zr.dto;

import lombok.Data;

/**
 * @author: peterChen
 * @date: 2019/11/22 17:06
 * @description: com.zr.dto
 * @version: 1.0
 */
@Data
public class StaffFileDTO {
    private Long id;
    /**
     * 员工id
     */
    private Long staffId;
    /**
     * 文件路径
     */
    private String fileUrl;
    /**
     * 原文件名（便于显示文件列表）
     */
    private String filename;
    private String uuidFilename;
    private String fileType;

    public StaffFileDTO() {
    }

    public StaffFileDTO(Long id, Long staffId, String fileUrl, String filename, String uuidFilename, String fileType) {
        this.id = id;
        this.staffId = staffId;
        this.fileUrl = fileUrl;
        this.filename = filename;
        this.uuidFilename = uuidFilename;
        this.fileType = fileType;
    }

    public StaffFileDTO(String fileUrl, String filename, String uuidFilename, String fileType) {
        this.fileUrl = fileUrl;
        this.filename = filename;
        this.uuidFilename = uuidFilename;
        this.fileType = fileType;
    }

}
